package online.cmagic.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangsc
 * @date 2020年09月10日 10:37
 * @since JDK 1.8
 */
@RestController
public class ProviderController {

    @RequestMapping(value = "provider/{id}")
    public String provider(@PathVariable("id") String id){
        return "product-id:"+id;
    }
}
